<?php
/* @var $this SanPhamController */
/* @var $model SanPham */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'san-pham-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note"><?php echo Yii::t('translation', 'NoteForFillInForm') ?></p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'MASP'); ?>
		<?php echo $form->textField($model,'MASP',array('size'=>6,'maxlength'=>6)); ?>
		<?php echo $form->error($model,'MASP'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TENSP'); ?>
		<?php echo $form->textField($model,'TENSP',array('size'=>25,'maxlength'=>25)); ?>
		<?php echo $form->error($model,'TENSP'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'IDHSX'); ?>
		<?php echo $form->textField($model,'IDHSX'); ?>
		<?php echo $form->error($model,'IDHSX'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GIATIEN'); ?>
		<?php echo $form->textField($model,'GIATIEN',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'GIATIEN'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SOLUONG'); ?>
		<?php echo $form->textField($model,'SOLUONG'); ?>
		<?php echo $form->error($model,'SOLUONG'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'HINHANH'); ?>
		<?php echo $form->textField($model,'HINHANH',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'HINHANH'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? Yii::t('translation', 'Create') : Yii::t('translation', 'Save')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->